<?php
$this->pageTitle = 'Password Reset - ' . Yii::app()->name;
?>

<header><h2>Password Reset</h2></header>
<section>
    <?php if (Yii::app()->user->hasFlash('password-reset-success')): ?>
    <div class="message success"><?php echo Yii::app()->user->getFlash('password-reset-success'); ?></div>
    <?php
 else:
    echo $this->renderPartial('_form_password_reset', array('model' => $model));
endif;
    ?>
</section>